package com.ruoyi.asms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.asms.domain.Inspection;

import java.util.List;

/**
 * 巡检信息Service接口
 * 
 * @author yfkj
 * @date 2021-10-21
 */

public interface IInspectionService  extends IService<Inspection>
{
    /**
     * 查询巡检信息
     * 
     * @param inspectionId 巡检信息主键
     * @return 巡检信息
     */
    public Inspection selectInspectionByInspectionId(Long inspectionId);

    /**
     * 查询巡检信息列表
     * 
     * @param inspection 巡检信息
     * @return 巡检信息集合
     */
    public List<Inspection> selectInspectionList(Inspection inspection);

    /**
     * 新增巡检信息
     * 
     * @param inspection 巡检信息
     * @return 结果
     */
    public int insertInspection(Inspection inspection);

    /**
     * 修改巡检信息
     * 
     * @param inspection 巡检信息
     * @return 结果
     */
    public int updateInspection(Inspection inspection);

    /**
     * 批量删除巡检信息
     * 
     * @param inspectionIds 需要删除的巡检信息主键集合
     * @return 结果
     */
    public int deleteInspectionByInspectionIds(Long[] inspectionIds);

    /**
     * 删除巡检信息信息
     * 
     * @param inspectionId 巡检信息主键
     * @return 结果
     */
    public int deleteInspectionByInspectionId(Long inspectionId);
}
